package org.example;

public class Teacher
{
    private String _name;
    private int _age;
    private String _gender ="男";

    public void show() {
        String name = "tom";
        int age = 20;

        System.out.println("name:" + name);
        System.out.println("age:" + age);
        System.out.println("gender:" + _gender);
    }

    public void disp () {
        String name = "jack";
        int age = 18;
        System.out.println("this.age:" + age);
        System.out.println("this.name:" + name);
        System.out.println("this.gender: " + _gender);
    }

    }
